﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AttoneyAdd.aspx.cs" Inherits="Manage_AttoneyAdd" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css">
    <script language="vbscript" src="../Common/yz.vbs">
</script>
</head>
<body>
    <form id="form1" runat="server">
        <div>

        <script language="vbscript" type="text/vbscript">
        Sub AreaSelect(byval id)
        Dim strReturnValue
        strReturnValue = showModalDialog("../System/AreaSelect.aspx?ROOT=" & id,null,"dialogWidth:320px;dialogHeight:480px;status:0;scroll:no;center:yes;help:no;")
        If Len(strReturnValue) > 0 Then
            'document.getElementById("AreaId").value  = Split(strReturnValue,vbCrLf)(0)
            'document.getElementById("AreaName").value  =  Split(strReturnValue,vbCrLf)(1)

            document.all("AreaId").value = Split(strReturnValue,vbCrLf)(0)
            document.all("AreaName").value = Split(strReturnValue,vbCrLf)(1)
        End If
        End Sub

            </script>

            <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript"></script>
            <br>
            <table id="tabData" width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table_table2">
                <tr>
                    <td class="table_td3">
                        用户名称</td>
                    <td class="table_td2">
                        <asp:TextBox ID="AccountName" runat="server" Width="156px" NotNull="用户名称" InvertedComma="用户名称"></asp:TextBox><span
                            style="color: #ff6666">(*)</span></td>
                    <td class="table_td3" style="width: 108px">
                        用户编码</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtUserCode" runat="server" Width="152px" NotNull="用户编码" InvertedComma="用户编码"></asp:TextBox><span
                            style="color: #ff6666">(*)</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        密码</td>
                    <td class="table_td2" colspan=3>
                        <asp:TextBox ID="Pwd_Bid" runat="server" NotNull="投标密码" InvertedComma="投标密码"></asp:TextBox><span
                            style="color: #ff6666">(*)</span></td>
                                    </tr>
                <tr>
                    <td class="table_td3">
                        中介名称</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="AttorneyName" NotNull="中介名称" InvertedComma="中介名称"></asp:TextBox><span
                            style="color: #ff6666">(*)</span></td>
                    <td class="table_td3" style="width: 108px">
                        所属地区：
                    </td>
                    <td class="table_td2">
                        <input type="text" name="AreaName" readonly  NotNull="所属地区"  />
                        <input type="hidden" name="AreaId" style="width: 85px" />
                        <a href="javascript:AreaSelect(530000)">选择地区</a><span style="color: #ff6666">(*)</span></td>
                </tr>
                <tr>
                    <td class="table_td3" style="height: 28px">
                        地址</td>
                    <td class="table_td2" style="height: 28px">
                        <asp:TextBox runat="server" ID="Address" InvertedComma="地址"></asp:TextBox></td>
                    <td class="table_td3" style="height: 28px; width: 108px;">
                        邮政编码</td>
                    <td class="table_td2" style="height: 28px">
                        <asp:TextBox runat="server" ID="PostCode" InvertedComma="邮政编码"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        联系电话</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="Telephone" InvertedComma="联系电话"></asp:TextBox></td>
                    <td class="table_td3" style="width: 108px">
                        传真</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="Fax" InvertedComma="传真"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3" style="height: 28px">
                        Email</td>
                    <td class="table_td2" style="height: 28px">
                        <asp:TextBox runat="server" ID="Email" InvertedComma="Email"></asp:TextBox></td>
                    <td class="table_td3" style="width: 108px; height: 28px;">
                        网址</td>
                    <td class="table_td2" style="height: 28px">
                        <asp:TextBox runat="server" ID="NetAddress" InvertedComma="网址"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3" style="height: 28px">
                        法人代表姓名</td>
                    <td class="table_td2" style="height: 28px">
                        <asp:TextBox runat="server" ID="Lawer" InvertedComma="法人代表姓名"></asp:TextBox></td>
                    <td class="table_td3" style="height: 28px; width: 108px;">
                        国际招标资质</td>
                    <td class="table_td2" style="height: 28px">
                        <asp:TextBox runat="server" ID="NationalCmp" InvertedComma="国际招标资质"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        注册资金（元）</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="Fund" NumericOnly="注册资金"></asp:TextBox></td>
                    <td class="table_td3" style="width: 108px">
                        雇员人数</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="EmployeeNum"  NumericOnly="雇员人数"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3" style="height: 28px">
                        开户银行</td>
                    <td class="table_td2" style="height: 28px"  colspan=3>
                        <asp:TextBox runat="server" ID="Bank" InvertedComma="开户银行" Width="489px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        成立时间</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="FoundDate" onclick="javascript:fPopCalendar(FoundDate,FoundDate);"
                            dataType="Date" format="ymd" require="true" msg="日期不存在" DateTimeOnly="成立时间"></asp:TextBox>
                    <td class="table_td3" style="width: 108px">
                    </td>
                    <td class="table_td2">
                    </td>
                </tr>
                <tr>
                    <td class="table_td2" style="height: 26px">
                    </td>
                    <td class="table_td2" style="height: 26px">
                        <asp:Button ID="btnAdd"  CssClass="button_bg"  runat="server" Text="保  存" OnClick="btnAdd_Click"  OnClientClick="javascript:return CheckForm();" />
                    </td>
                    <td class="table_td2" style="width: 108px; height: 26px">
                    </td>
                    <td class="table_td2" style="height: 26px">
                        <input id="Button1" class="button_bg"  type="button" value="关  闭" onclick="window.close()" />
                        </td>
                </tr>
            </table>
        </div>
 
    </form>
</body>
</html>
